<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8" />
<title>东方教育客户关系管理系统</title>
<meta name="keywords"
	content="Bootstrap模版,Bootstrap模版下载,Bootstrap教程,Bootstrap中文" />
<meta name="description"
	content="站长素材提供Bootstrap模版,Bootstrap教程,Bootstrap中文翻译等相关Bootstrap插件下载" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link rel="stylesheet" href="${ctx}/statics/css/bootstrap.min.css" />
<link rel="stylesheet" href="${ctx}/statics/css/font-awesome.min.css" />
<link rel="stylesheet" href="${ctx}/statics/css/ace.min.css" />
<link rel="stylesheet" href="${ctx}/statics/css/ace-rtl.min.css" />
<link rel="stylesheet" href="${ctx}/statics/css/ace-skins.min.css" />
<style type="text/css">

#navbar {
	height: 50px;
}
</style>
</head>

<body>

<div class="navbar navbar-default" id="navbar">
			<script type="text/javascript">
				try{ace.settings.check('navbar' , 'fixed')}catch(e){}
			</script>

			  <div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="#" class="navbar-brand">
						<small>
							<i class="icon-leaf"></i>
							东方教育客户关系管理系统
						</small>
					</a><!-- /.brand -->
					<a href="javascript:void(0)" data-url="${ctx}/workbench/listUI" data-category="工作台" class="navbar-brand"  id="workbench">
						<small>
						<span style="font-size: 15px">工作台</span>
						</small>
					</a>
					
					<a href="javascript:void(0)" data-url="${ctx}/report/listUI" class="navbar-brand mynav" data-category="报表"  id="report">
						<small>
						<span style="font-size: 15px">报表</span>
						</small>
					</a>
					
					
				</div><!-- /.navbar-header -->


				<div class="navbar-header pull-right" role="navigation">
					<ul class="nav ace-nav">
						<li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
								<img class="nav-user-photo" src="${ctx}/${sessionScope.currentUser.photoUrl}" />
								<span class="user-info">
									<small>欢迎,</small>
									${sessionScope.currentUser.userName}
								</span>

								<i class="icon-caret-down"></i>
							</a>

							<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
								<li>
									<a href="javascript:void(0)" data-url="${ctx}/user/userCenter" data-category="个人中心" class="userProfile"  id="userCenter" >
										<i class="icon-cog"></i>
										个人中心
									</a>
								</li>
                                <li>
									<a href="javascript:void(0)" data-url="${ctx}/user/resetPw" data-category="重置密码" class="userProfile"  id="resetPw">
										<i class="icon-cog"></i>
										重置密码
									</a>
								</li>

								<li class="divider"></li>

								<li>
									<a href="/bsCrm/logout" >
										<i class="icon-off"></i>
										退出
									</a>
								</li>
							</ul>
						</li>
					</ul><!-- /.ace-nav -->
				</div><!-- /.navbar-header -->
			</div><!-- /.container -->
		</div>

		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>

				<div class="sidebar" id="sidebar">
					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
					</script>

					<div class="sidebar-shortcuts" id="sidebar-shortcuts">
						<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
							<button class="btn btn-success">
								<i class="icon-signal"></i>
							</button>

							<button class="btn btn-info">
								<i class="icon-pencil"></i>
							</button>

							<button class="btn btn-warning">
								<i class="icon-group"></i>
							</button>

							<button class="btn btn-danger">
								<i class="icon-cogs"></i>
							</button>
						</div>

						<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
							<span class="btn btn-success"></span>

							<span class="btn btn-info"></span>

							<span class="btn btn-warning"></span>

							<span class="btn btn-danger"></span>
						</div>
					</div><!-- #sidebar-shortcuts -->

					<ul class="nav nav-list" id="menu-list">
						<!-- 一个模块 -->
						<li>
								<a href="#" class="dropdown-toggle">
									<i class="icon-desktop"></i>
									<span class="menu-text" id="category_1"> 客户相关</span>
									<b class="arrow icon-angle-down"></b>
								</a>
								<ul class="submenu">
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/customer/listUI" data-category="category_1" class="menu-click">
												<i class="icon-double-angle-right"></i>
												客户信息
											</a>
										</li>
										<c:if test="${sessionScope.rolePower==3||sessionScope.rolePower==2}">
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/customerDistr/listUI" data-category="category_4" class="menu-click">
												<i class="icon-double-angle-right"></i>
												客户分配
											</a>
										</li>
										</c:if>
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/customerCare/listUI" data-category="category_1" class="menu-click">
												<i class="icon-double-angle-right"></i>
												客户关怀
											</a>
										</li>
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/customerType/listUI" data-category="category_1" class="menu-click">
												<i class="icon-double-angle-right"></i>
												客户类型
											</a>
										</li>
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/customerCondition/listUI" data-category="category_1" class="menu-click">
												<i class="icon-double-angle-right"></i>
												客户状态
											</a>
										</li>
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/customerSource/listUI" data-category="category_1" class="menu-click">
												<i class="icon-double-angle-right"></i>
												客户来源
											</a>
										</li>
										
								</ul>
						</li><!-- 一个模块 -->
						
						
						<li>
								<a href="#" class="dropdown-toggle">
									<i class="icon-desktop"></i>
									<span class="menu-text" id="category_3"> 员工相关</span>
									<b class="arrow icon-angle-down"></b>
								</a>
								<ul class="submenu">
								        <li>
											<a href="javascript:void(0)" data-url="${ctx}/class/listUI" data-category="category_3" class="menu-click">
												<i class="icon-double-angle-right"></i>
												开设班级
											</a>
										</li>
										
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/classSubject/listUI" data-category="category_3" class="menu-click">
												<i class="icon-double-angle-right"></i>
												班级方向
											</a>
										</li>
										
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/noticeInfo/listUI" data-category="category_3" class="menu-click">
												<i class="icon-double-angle-right"></i>
												发布公告
											</a>
										</li>
								</ul>
						</li><!-- 一个模块 -->
						
						<li>
								<a href="#" class="dropdown-toggle">
									<i class="icon-desktop"></i>
									<span class="menu-text" id="category_2"> 邮件相关</span>
									<b class="arrow icon-angle-down"></b>
								</a>
								<ul class="submenu">
								        <li>
											<a href="javascript:void(0)" data-url="${ctx}/emailInfo/sendEmailUI" data-category="category_2" class="menu-click">
												<i class="icon-double-angle-right"></i>
												发邮件
											</a>
										</li>
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/emailInfo/outboxListUI" data-category="category_2" class="menu-click">
												<i class="icon-double-angle-right"></i>
												发件箱
											</a>
										</li>
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/emailInfo/draftboxListUI" data-category="category_2" class="menu-click">
												<i class="icon-double-angle-right"></i>
												草稿箱
											</a>
										</li>
								</ul>
						</li><!-- 一个模块 -->
						
						
						<c:if test="${sessionScope.rolePower==3||sessionScope.rolePower==2}">
						<li>
								<a href="#" class="dropdown-toggle">
									<i class="icon-desktop"></i>
									<span class="menu-text" id="category_4"> 管理员</span>
									<b class="arrow icon-angle-down"></b>
								</a>
								<ul class="submenu">
								        <li>
											<a href="javascript:void(0)" data-url="${ctx}/user/listUI" data-category="category_4" class="menu-click">
												<i class="icon-double-angle-right"></i>
												员工管理
											</a>
										</li>
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/departmentInfo/listUI" data-category="category_4" class="menu-click">
												<i class="icon-double-angle-right"></i>
												部门管理
											</a>
										</li>
										
										<c:if test="${sessionScope.rolePower==3}">
										<li>
											<a href="javascript:void(0)" data-url="${ctx}/userRole/listUI" data-category="category_4" class="menu-click">
												<i class="icon-double-angle-right"></i>
												角色管理
											</a>
										</li>
										</c:if>
								</ul>
						</li><!-- 一个模块 -->
						</c:if>
						
							
	<!--************  *******************************************************************-->
						
					</ul><!-- /.nav-list -->

					<div class="sidebar-collapse" id="sidebar-collapse">
						<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
					</div>

					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
					</script>
				</div>

				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#">Home</a>
							</li>
							<li id="category">工作台</li>
							<li class="active" id="menu">工作台</li>
						</ul><!-- .breadcrumb -->
					</div><!-- /.page-content -->
					<div style="overflow: auto;"><iframe id="contentPanel" src="${ctx}/workbench/listUI" width="100%" height="800px" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="yes" allowtransparency="yes"></iframe></div>
				</div><!-- /.main-content -->
			</div><!-- /.main-container-inner -->
		</div><!-- /.main-container -->
</body>
<script src="${ctx}/statics/js/jquery-1.11.3.js"></script>
<script src="${ctx}/statics/js/bootstrap.min.js"></script>
<script src="${ctx}/statics/js/ace.min.js"></script>
<script src="${ctx}/statics/js/ace-extra.min.js"></script>
<script src="${ctx}/statics/js/manageUI/config.js"></script>
</html>
